#include "Token.h"

#include <iostream>
#include <vector>

using std::vector;
using std::cout;
using std::endl;

typedef std::vector<Token>::const_iterator const_iterator;

Token::Token(string const & s, TokenType type) : text_(s), type_(type)
{}

string const& Token::getText() const
{
	return text_;
}
TokenType Token::getType() const
{
	return type_;
}
